package com.randi.framework.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author ziye
 */
@Data
@ApiModel(value = "UserPasswordUpdateDto", description = "用户密码更新DTO")
public class ProfilePasswordUpdateDTO {

    @NotBlank(message = "原始密码不能为空")
    @ApiModelProperty(value = "原始密码")
    private String original;

    @NotBlank(message = "当前密码不能为空")
    @ApiModelProperty(value = "当前密码")
    private String current;

    @NotBlank(message = "确认密码不能为空")
    @ApiModelProperty(value = "确认密码")
    private String confirm;

    @NotBlank(message = "uuid不能为空")
    @ApiModelProperty(value = "uuid")
    private String uuid;

}
